<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div id="app" class="wrapper wrapper-content">
		<div class="col-sm-12">
			<div class="ibox">
				<div class="ibox-body">
                    <form class="form-horizontal m-t" id="search${table.entityName}Form">
						<#assign isSearch="Y">
                        <#include "field.html.ftl"/>
                    </form>

					<div class="fixed-table-toolbar">
                        <div class="columns col-sm-offset-1">
                            <button class="btn btn-success" onclick="reload${table.entityName}Tbl()">
                                <i class="fa fa-search" aria-hidden="true"></i> 查询
							</button>

                            <button type="button" class="btn  btn-primary" onclick="add${table.entityName}()">
								<i class="fa fa-plus" aria-hidden="true"></i>添加
							</button>
							<button type="button" class="btn  btn-danger"
								onclick="batchRemove()">
								<i class="fa fa-trash" aria-hidden="true"></i>删除
							</button>
							<form id="opsForm" method="get"></form>
						</div>

					</div>
					<table id="${entityLowerName}Table" data-mobile-responsive="true">
					</table>
				</div>
			</div>
		</div>
	</div>

	<div th:include="include :: footer"></div>
    <script th:inline="javascript"> var ctx = [[@{/}]] ; </script>
    <script type="text/javascript" th:src="@{/js/appjs/app-common.js}"></script>
	<script type="text/javascript" th:src="@{/js/appjs/${cfg.module}/${entityLowerName}.js}"></script>
</body>
</html>